package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件管理对象 teaching_file
 * 
 * @author William
 * @date 2022-10-11
 */
public class TeachingFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件ID */
    private Long fileId;

    /** 远程文件ID */
    @Excel(name = "远程文件ID")
    private String remoteFileId;

    /** 表别名 */
    @Excel(name = "表别名")
    private String tableNameAlias;

    /** 表名称 */
    @Excel(name = "表名称")
    private String tableName;

    /** 表主键ID */
    private String tableKey;

    /** 当前文件名 */
    private String fileName;

    /** 原始文件名 */
    @Excel(name = "原始文件名")
    private String fileNameOriginal;

    /** 扩展名 */
    private String fileExtend;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String filePrevImg;

    /** 文件完整路径 */
    @Excel(name = "文件完整路径")
    private String filePath;

    /** 文件大小 */
    @Excel(name = "文件大小")
    private String fileSize;

    /** 状态（0正常 1暂停） */
    private String status;

    /** 创建人ID */
    private Long createId;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setRemoteFileId(String remoteFileId) 
    {
        this.remoteFileId = remoteFileId;
    }

    public String getRemoteFileId() 
    {
        return remoteFileId;
    }
    public void setTableNameAlias(String tableNameAlias) 
    {
        this.tableNameAlias = tableNameAlias;
    }

    public String getTableNameAlias() 
    {
        return tableNameAlias;
    }
    public void setTableName(String tableName) 
    {
        this.tableName = tableName;
    }

    public String getTableName() 
    {
        return tableName;
    }
    public void setTableKey(String tableKey) 
    {
        this.tableKey = tableKey;
    }

    public String getTableKey() 
    {
        return tableKey;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileNameOriginal(String fileNameOriginal) 
    {
        this.fileNameOriginal = fileNameOriginal;
    }

    public String getFileNameOriginal() 
    {
        return fileNameOriginal;
    }
    public void setFileExtend(String fileExtend) 
    {
        this.fileExtend = fileExtend;
    }

    public String getFileExtend() 
    {
        return fileExtend;
    }
    public void setFilePrevImg(String filePrevImg) 
    {
        this.filePrevImg = filePrevImg;
    }

    public String getFilePrevImg() 
    {
        return filePrevImg;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileSize(String fileSize) 
    {
        this.fileSize = fileSize;
    }

    public String getFileSize() 
    {
        return fileSize;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("remoteFileId", getRemoteFileId())
            .append("tableNameAlias", getTableNameAlias())
            .append("tableName", getTableName())
            .append("tableKey", getTableKey())
            .append("fileName", getFileName())
            .append("fileNameOriginal", getFileNameOriginal())
            .append("fileExtend", getFileExtend())
            .append("filePrevImg", getFilePrevImg())
            .append("filePath", getFilePath())
            .append("fileSize", getFileSize())
            .append("status", getStatus())
            .append("createId", getCreateId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
